<template>
  <div class="flex items-center justify-between jus gap-4 text-base">
    <img src="@/assets/images/card1.png" />
    <div class="flex flex-col gap-1">
      <div v-for="item in data">{{ item.year }}/{{ item.month }}月</div>
    </div>
    <div class="flex flex-col gap-1">
      <div v-for="item in data" class="text-[#9D9EA9]">{{ item.value }}</div>
    </div>
  </div>
</template>

<script setup lang="ts">
interface Data {
  year: string;
  month: string;
  value: string;
}
interface Props {
  data: Data[]
}

defineProps<Props>()

</script>

<style lang="scss" scoped>
.card-title {
  box-shadow: 0px 0px 4px 0px rgba(51, 83, 69, 0.15);
}
</style>